<template>
  <div>
    <market-list-item
      v-for="(product, index) in goods"
      :key="index"
      :item-info="product"
    />
  </div>
</template>

<script>
import { mapState } from "vuex";
import MarketListItem from "./MarketListItem";
export default {
  name: "MarketList",
  components: {
    MarketListItem,
  },
  computed: {
    ...mapState(["goods"]),
  },
};
</script>

<style scoped></style>
